package pkg

import "strconv"

func ResolveTime(seconds int) string {
	var minuteStr, secondStr string
	minute := seconds / 60
	if minute < 10 {
		minuteStr = "0" + strconv.Itoa(minute)
	} else {
		minuteStr = strconv.Itoa(minute)
	}

	second := seconds % 60
	if second < 10 {
		secondStr = "0" + strconv.Itoa(second)
	} else {
		secondStr = strconv.Itoa(second)
	}

	return minuteStr + ":" + secondStr
}
